Skip to content

Add tests for encoding, hashing, and component validation#21

Merged
Barata-Ribeiro merged 9 commits into
mainfrom
implement-components-tests
Jul 1, 2026
Merged

Add tests for encoding, hashing, and component validation#21
Barata-Ribeiro merged 9 commits into
mainfrom
implement-components-tests

Conversation

@Barata-Ribeiro

Copy link
Copy Markdown
Owner

This pull request introduces comprehensive browser-based tests for several unit converter and text decoder components, and updates key dependencies to their latest patch versions. The changes primarily focus on improving test coverage for converters (bytes, length, mass, speed, temperature, time) and the Base64 text decoder, while also ensuring the workspace is compatible with the latest versions of vite and radix-ui.

Test Coverage Improvements:

  • Added browser-based tests for the following converter components, covering rendering, conversion logic, invalid input handling, and clearing of fields:
    • Bytes (tests/browser/components/converters/bytes.browser.test.tsx)
    • Length (tests/browser/components/converters/length.browser.test.tsx)
    • Mass (tests/browser/components/converters/mass.browser.test.tsx)
    • Speed (tests/browser/components/converters/speed.browser.test.tsx)
    • Temperature (tests/browser/components/converters/temperature.browser.test.tsx)
    • Time (tests/browser/components/converters/time.browser.test.tsx)
  • Added browser-based tests for the Base64TextDecode component, including validation, decoding, and reset functionality (tests/browser/components/programming/base64-text-decode.browser.test.tsx)

Dependency Updates:

  • Upgraded radix-ui from 1.6.0 to 1.6.1 and vite from 8.1.0 to 8.1.2 in package.json to keep dependencies up-to-date and take advantage of the latest fixes. [1] [2]
  • Updated pnpm-workspace.yaml to reflect the new versions of vite and radix-ui, and added detailed exclusions for specific @radix-ui sub-packages to the minimumReleaseAgeExclude list for improved release management. [1] [2]

@Barata-Ribeiro Barata-Ribeiro self-assigned this Jul 1, 2026
@Barata-Ribeiro Barata-Ribeiro added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request labels Jul 1, 2026
@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
utilities-webapp Ignored Ignored Jul 1, 2026 10:16am

@Barata-Ribeiro Barata-Ribeiro merged commit 6ae51cf into main Jul 1, 2026
3 checks passed
@Barata-Ribeiro Barata-Ribeiro deleted the implement-components-tests branch July 1, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant